package com.ship.dispatch.service;

import com.ship.common.business.service.BaseService;
import com.ship.dispatch.bean.sy.SyNewRecord;
import com.ship.dispatch.model.dto.SyNewRecordDto;

public interface SyNewRecordService extends BaseService<SyNewRecord> {

    /**
     * 新增新闻
     * @param newRecordDto
     */
    void saveNewRecord(SyNewRecordDto newRecordDto);

    /**
     * 获取最新一条新闻
     * @return
     */
    SyNewRecord selectNewRecord();

}
